<div class="header">
    <back-Btn></back-Btn>
    项目报销
</div>
<div class="container finance task-review">
    <div class="list f_sk">
        <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
            date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
        <div class="section">
            <div class="list-item flex">
                <div class="c9 w40">项目编号</div>
                <div class="w60">{{ TaskReview.result.projectNo }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">项目名称</div>
                <div class="w60" relative-module="project_store" module-no="{{ TaskReview.result.projectNo }}">
                    {{ TaskReview.result.projectName }}
                </div>
            </div>
            <div class="list-item" ng-show="TaskReview.result.gatheringNo ">
                <div class="item-label">项目收款</div>
                <div
                  class="flow-content"
                  relative-module="project_gathering"
                  module-no="{{ TaskReview.result.gatheringNo }}"
                >
                  {{ TaskReview.result.gatheringNo }}
                </div>
              </div> 
              <div class="list-item flex">
                <div class="c9 w40">关联模块</div>
                <div class="w60"> {{TaskReview.result.relatedModuleName}}</div>
            </div>
            <div class="list-item flex">
                <div class="c9 w40">模块编号</div>
                <div class="w60" relative-module="{{TaskReview.result.relatedModule}}" module-no="{{TaskReview.result.moduleNo}}"> {{TaskReview.result.moduleNo}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.canPay">
                <div class="w40 c9">当前余额</div>
                <div class="w60">{{ TaskReview.result.canPay | NBFmt }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">借款冲抵金额</div>
                <div class="w60">{{ TaskReview.result.againstAmount | NBFmt }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">实际需付金额</div>
                <div class="w60">{{ TaskReview.result.paymentAmount | NBFmt }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">报销总金额</div>
                <div class="w60">{{ TaskReview.result.reimburseAmount | NBFmt }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">金额大写</div>
                <div class="w60">{{ TaskReview.result.amountInWorld }}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.receivePerson">
                <div class="w40 c9">收款人</div>
                <div class="w60">{{TaskReview.result.receivePerson}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.receiveAccount">
                <div class="w40 c9">收款人账号</div>
                <div class="w60">{{TaskReview.result.receiveAccount}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.receiveBank">
                <div class="w40 c9">收款人开户行</div>
                <div class="w60">{{TaskReview.result.receiveBank}}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.remark">
                <div class="w40 c9">备注</div>
                <div class="w60">{{ TaskReview.result.remark }}</div>
            </div>
            <!-- 自定义字段 -->
            <div checkuser-define field-map="TaskReview.result.customFields"></div>
            <div class="list table-list" ng-show="TaskReview.result.borrows&&TaskReview.result.borrows.length>0">
                <div class="info-title">需冲抵的项目借款记录</div>
                <div class="table-item" ng-repeat="item in TaskReview.result.borrows">
                    <div class="list-item" ng-show="item.borrowingNo">
                        <div class="item-label">编号</div>
                        <div class="flow-content" relative-module="Xm_ProjectBorrowing"
                            module-no="{{ item.borrowingNo }}">
                            {{ item.borrowingNo }}
                        </div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">申请人</div>
                        <div class="flow-content">{{ item.borrowingPerson }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">借款用途</div>
                        <div class="flow-content">{{ item.borrowPurpose }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">借款金额</div>
                        <div class="flow-content">{{ item.borrowingAmount|NBFmt }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">可冲抵金额</div>
                        <div class="flow-content">{{ item.remainAmount|NBFmt }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">需冲抵金额</div>
                        <div class="flow-content">{{ item.reimburseAmount|NBFmt }}</div>
                    </div>
                </div>
            </div>
            <div class="list table-list" ng-show="TaskReview.result.details&&TaskReview.result.details.length>0">
                <div class="info-title">报销明细</div>
                <div class="table-item"ng-repeat="item in TaskReview.result.details">
                    <div class="list-item">
                        <div class="item-label">报销类型</div>
                        <div class="flow-content">{{ item.category }}</div>
                    </div>
                    <div class="list-item" ng-show="item.startTime">
                        <div class="item-label">开始日期</div>
                        <div class="flow-content">{{ item.startTime|dateFmt }}</div>
                    </div>
                    <div class="list-item" ng-show="item.endTime">
                        <div class="item-label">结束日期</div>
                        <div class="flow-content">{{ item.endTime|dateFmt }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">单据数量</div>
                        <div class="flow-content">{{ item.ticketQuantity }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">报销金额</div>
                        <div class="flow-content">
                            {{ item.amount|NBFmt }}
                        </div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">报销事由</div>
                        <div class="flow-content">{{ item.reason }}</div>
                    </div>
                    <div class="file-upload" file-list file-data="item.attachment" checked="true"></div>
                </div>
            </div>
            <div class="list table-list" ng-show="TaskReview.result.borrows&&TaskReview.result.borrows.length>0">
                <div class="info-title">借款明细</div>
                <div class="table-item"ng-repeat="item in TaskReview.result.borrows">
                    <div class="list-item">
                        <div class="item-label">编号</div>
                        <div class="flow-content">{{ item.borrowingNo }}</div>
                    </div>
                    <div class="list-item" >
                        <div class="item-label">申请人</div>
                        <div class="flow-content">{{ item.borrowingPerson }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">款项用途</div>
                        <div class="flow-content">{{ item.borrowPurpose }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">借款金额</div>
                        <div class="flow-content">{{ item.borrowingAmount|NBFmt }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">本次冲抵金额</div>
                        <div class="flow-content">
                            {{ item.reimburseAmount|NBFmt }}
                        </div>
                    </div>
                </div>
            </div>
            <!-- 附件 -->
            <div class="file-upload" file-list  file-data="TaskReview.result.attachment"
                checked="true"></div>
        </div>
        <!-- 审查日志 -->
        <div log-list taskid="process_id"></div>
    </div>
</div>